import Command from "./command"

export class GetFloorsDataCommand extends Command {
  constructor() {
    super(...arguments)
    this.id = "GET_FLOORS_DATA"
  }
}
export class ChangeFloorCommand extends Command {
  constructor(e: any) {
    super()
    this.id = "MOVE_TO_FLOOR"
    this.payload = e
  }
}
export class MoveToFloorCommand extends Command {
  constructor(floorId?: string, suppressCameraMovement = !1, transitionTime?: number, focusPoint?: any) {
    super()
    this.id = "MOVETO_FLOOR"
    this.payload = {
      floorId,
      suppressCameraMovement,
      transitionTime,
      focusPoint
    }
  }
}
export class MoveToFloorIndexCommand extends Command {
  constructor(floorIndex?: any, suppressCameraMovement = !1, transitionTime?: number, focusPoint?: any) {
    super()
    this.id = "MOVETO_FLOOR_NUMBER"
    this.payload = {
      floorIndex,
      suppressCameraMovement,
      transitionTime,
      focusPoint
    }
  }
}
export class ShowAllFloorsCommand extends Command {
  constructor(e: any) {
    super()
    this.id = "SHOW_ALL_FLOORS"
    this.payload = e
  }
}
export class GetFloorIntersectCommand extends Command {
  constructor(e: any) {
    super()
    this.payload = Object.assign({}, e)
  }
}
